import { BookIcon } from 'tdesign-icons-vue-next';
import { shallowRef } from 'vue';

import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/suggestion',
    name: 'suggestion',
    component: Layout,
    redirect: '/suggestion/index',
    meta: {
      title: { zh_CN: '建议管理', en_US: 'Suggestion Management' },
      icon: shallowRef(BookIcon),
    },
    children: [
      {
        path: 'index',
        name: 'suggestionIndex',
        component: () => import('@/pages/suggestion/index.vue'),
        meta: {
          title: { zh_CN: '建议管理', en_US: 'Suggestion Management' },
        },
      },
    ],
  },
];
